yaffs2: remove redundant condition
author[email protected] <[email protected]>
Sat, 15 Apr 2017 11:28:13 +0000 (13:28 +0200)
committerTom Rini <[email protected]>
Tue, 18 Apr 2017 14:29:22 +0000 (10:29 -0400)
commit6568c731c47bfbb137183f8f745e8168604ea8ab
tree33158c35c01348936cdddc966cfde4aaa79495b5
parentddc6a9de057e0fd0b46ba21d16a50a8d24351ef6
yaffs2: remove redundant condition

If !parent, the changed line is not reached.
So there is no need to check the value again.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
fs/yaffs2/yaffsfs.c